<fs-grid-layout ng-model="vm.amendment.loan" fs-config="vm.layoutConfig.formConfigs.loanSummary" fs-validator-config="vm.validatorConfig"></fs-grid-layout>
<fs-grid-layout ng-model="vm.amendment" fs-config="vm.layoutConfig.formConfigs.amendment" fs-validator-config="vm.validatorConfig"></fs-grid-layout>

<fs-tabset active="vm.tabsetIndex" ng-show="vm.amendment.generalFlag == 'Y' || vm.amendment.obligorFlag == 'Y' || vm.amendment.interestFlag == 'Y' || vm.amendment.pastdueFlag == 'Y' || vm.amendment.billingScheduleFlag == 'Y'">
	<fs-tab index="0" heading="{{'title.tab.amendment.general' | translate}}" ng-show="vm.amendment.generalFlag == 'Y'">
	    <ng-form name="generalForm">
	        <div ng-include="'cls/view/'+app.settings.theme+'/amendment/included/general.html'"></div>
	    </ng-form>
	</fs-tab>
 	
	<fs-tab index="1" heading="{{'title.tab.amendment.obligor' | translate}}" ng-show="vm.amendment.obligorFlag == 'Y'">
	    <ng-form name="insuranceForm">
	        <div ng-include="'cls/view/'+app.settings.theme+'/amendment/included/obligor.html'"></div>
	    </ng-form>
	</fs-tab>
	
	<fs-tab index="2" heading="{{'title.tab.amendment.interest' | translate}}" ng-show="vm.amendment.interestFlag == 'Y'">
	  <ng-form name="interestForm">
	      <div ng-include="'cls/view/'+app.settings.theme+'/amendment/included/interest.html'"></div>
	  </ng-form>
	</fs-tab>
	
 	<fs-tab index="3" heading="{{'title.tab.amendment.pastdue' | translate}}" ng-show="vm.amendment.pastdueFlag == 'Y'">
    	<ng-form name="pastdueForm">
        	<div ng-include="'cls/view/'+app.settings.theme+'/amendment/included/pastdue.html'"></div>
    	</ng-form>
  	</fs-tab>
	
		<fs-tab index="4" heading="{{'title.tab.amendment.billingschedule' | translate}}" ng-show="vm.amendment.billingScheduleFlag == 'Y'">
	    <ng-form name="billingscheduleForm">
	        <div ng-include="'cls/view/'+app.settings.theme+'/amendment/included/billing.html'"></div>
	    </ng-form>
	</fs-tab>
</fs-tabset>